package com.smbms.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.smbms.service.HelloService;
import org.springframework.stereotype.Controller;

@Controller
public class HelloController {

    @Reference //dubbo的注解，com.alibaba.dubbo.config.annotation.Reference
    private HelloService helloService;

    public void show(){
        System.out.println("dubbo-A项目执行了show()方法..");

        helloService.hello("hello,我是dubbo-A项目+++");
    }


}
